Stock analysis tools Loading Data: Yahoo Finance (via our server, may be delayed)

➗ Stock Ratio Chart

One stock or index divided by another, date by date: ratio line or candles, MA(50), change over the visible range and each side's move. Yahoo Finance data. Not advice.

Presets

–

Current ratio–
Change over visible range–
vs MA(50)–
Each, same range–
Loading…
–

Ratio = first close ÷ second close. Daily bars are paired by each exchange's local date, weekly bars by the week (starting Monday) that date falls in, and hourly bars by identical bar start times (UTC); dates or times present in only one series — such as holidays that differ between Korea and the US — are skipped. A rising ratio means the first outperformed the second over that stretch (rose more or fell less). When the two trade in different currencies (won and dollars, say) no exchange-rate conversion is applied, so the level of the ratio means little and its change is what matters. Candle highs and lows are approximations (high ÷ high, low ÷ low). MA(50) and the changes use closed bars only, and closes are price-only, without dividends (splits are adjusted by Yahoo). Prices come from Yahoo Finance via our server and are re-read every 60 seconds while either market is open, every 10 minutes when both are closed.

Unfamiliar term? → Crypto & Stock Glossary

For information only, not investment advice. Prices come from Yahoo Finance via our server and may be delayed 15–20 minutes or more depending on the exchange, or interrupted. Charts: TradingView Lightweight Charts™

What this tool does

The stock ratio chart divides the close of one stock (or index) by the close of another, bar by bar, so a single line shows which of the two was stronger. Divide a stock by an index — Samsung Electronics by the KOSPI, say — and you see performance against the market; divide two stocks, such as SK hynix by Samsung or Apple by Microsoft, and you see the balance between them; divide indices or ETFs, such as QQQ by SPY or the KOSPI by the S&P 500, and you see how markets moved against each other. It is the stock version of the crypto ratio chart, using Yahoo Finance prices.

How it is calculated

Prices come from Yahoo Finance via our server, which hands out a shared cache (/api/market/chart). After loading both symbols, bars are paired only when they match: daily bars by the same local exchange date, weekly bars by the same week (starting Monday) that date falls in, and hourly bars by the same start time (UTC). Dates or times present in only one series are skipped. For each pair, ratio close = A close ÷ B close, open = A open ÷ B open, high = max(open, close, A high ÷ B high) and low = min(open, close, A low ÷ B low). A ratio bar counts as closed only when both bars are closed, and MA(50) is the simple average of the last 50 closed ratio closes. 'Change over visible range' compares the first and last closed bars on screen, (last ÷ first − 1) × 100, and each symbol's own change is measured from its closes on the same two dates. Timeframes and ranges stay within what Yahoo serves: hourly 1, 3, 6 months or 1 year (default 3 months), daily 3 or 6 months, 1, 2, 5 or 10 years (default 1 year), weekly 1, 2, 5 or 10 years (default 5 years). Data is re-read every 60 seconds while either market is open or closed for less than 45 minutes, every 10 minutes when both are closed, and 30 seconds after a busy-server (503) reply.

How to read each part

Top bar: two symbols, timeframe, range and view

The left box is the numerator (A), the right box the denominator (B). Changing a symbol, timeframe or range reloads both series and re-pairs them; switching between line and candles is instant. Yahoo serves 60-minute bars for 730 days only, so hourly ranges stop at 1 year. Your choices go into the address bar, so sharing the link opens the same view.

Two lines under the title: market status, time and currency

Each symbol shows 'Market open' or 'Market closed', the time of its last quote (exchange local time and city), its currency and, for Korean and Japanese listings, '~20 min delay'. When both markets are closed the status at the top no longer says 'Live' but 'Both markets closed'. If the two trade in different currencies, a yellow note says so. If an update fails, the status changes to 'Update failed · last updated' with the time, and data reloads as soon as the connection returns.

Four summary boxes

'Current ratio' is the latest ratio bar — a live value while either side's bar is still forming, otherwise the last closed bar. 'Change over visible range' is the change between the first and last closed bars on screen, 'vs MA(50)' shows how far the last closed ratio sits above or below its MA(50), and 'Each, same range' gives A's and B's own changes between the same two dates.

  • Ratio change = (1 + A's change) ÷ (1 + B's change) − 1
  • Example: if A rises 10% and B rises 5% over the same stretch, 1.10 ÷ 1.05 − 1 ≈ +4.76%
  • Changes smaller than 0.5% either way are described as almost unchanged

Chart and overlap count

The yellow line (or candles) is the ratio and the purple line its MA(50). Under the chart you see how many bars overlap and how many were skipped because only one symbol had them. Pairs with different holidays, such as Korea and the US, will show skipped bars, and those days are left out of the ratio. Hourly bars must start at the same time to pair, so pairs whose trading hours never overlap (Korea and the US) cannot be drawn hourly; use daily or weekly bars instead.

Pairs in different currencies

When the two are priced in different currencies — Samsung in won against the dollar-based S&P 500 — the ratio has no exchange-rate conversion, so its level (23.4, say) means little on its own. What matters is how much the ratio moves. Even that change compares returns measured in each local currency, so it can differ from a won-based return on US shares by the move in the exchange rate.

Candles are approximations

Ratio candle highs and lows come from high ÷ high and low ÷ low, checked against the open and close. The two highs need not happen at the same moment, so the wicks may differ from the true intraday extremes of the ratio. Changes and MA(50) use closes only and are not affected.

Things to know

Frequently asked questions

Is relative strength the same as RSI?

No. RSI compares one stock's recent gains with its recent losses, while relative strength here is simply the ratio of two prices. The names are similar but the maths and meaning differ.

Why are some dates missing when I divide a Korean stock by a US index?

The two markets have different holidays, so some days exist in only one series. The ratio is computed only when both have a bar on the same date, and the number of skipped bars is shown under the chart. Dates are each exchange's local date, so the time difference does not shift days.

A Korea–US pair will not draw on hourly bars.

Hourly bars pair only when they start at the same time, and Korean and US regular sessions never overlap, so no pairs are formed. Use daily or weekly bars.

Should I buy when the ratio rises?

This tool shows which side was stronger over a past period; it does not give buy or sell timing. It is for information only and is not investment advice.

The numbers differ slightly from my broker's app.

Yahoo Finance quotes for Korean and Japanese shares are about 20 minutes late, and the shared server cache can make hourly data up to 1 minute old, daily up to 5 minutes and weekly up to 1 hour. This tool also uses closed bars only for the change and MA(50).

For information only, not investment advice. Prices come from Yahoo Finance via our server and may be delayed or interrupted.

📚 Worth reading
🏛️KOSPI vs KOSDAQ: Korea's Stock Markets, Listing Rules, Indices→ 📈Stock vs Index: S&P 500, Nasdaq-100 and Relative Strength→ ➗Reading a Relative Strength Ratio Chart: Stock ÷ Index or Stock→ 🥇Preferred vs Common Shares in Korea: Votes, Dividends, Price Gap→
← All stock tools